<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <input id="id" name="id" th:value="${bookOrder.id}"  type="hidden">

                        <input id="state" name="state" th:value="${bookOrder.state}"  type="hidden">



                        <div class="form-group">
                            <label class="col-sm-3 control-label">基础退货数量：</label>
                            <div class="col-sm-8">
                                <input id="returnNumber" name="returnNumber" value="0" placeholder="请输入订单基础退货数量" class="form-control" type="text">

                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">初级退货数量：</label>
                            <div class="col-sm-8">
                                <input id="returnPrimary" name="returnPrimary" value="0" placeholder="请输入订单初级退货数量" class="form-control" type="text">

                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">中级退货数量：</label>
                            <div class="col-sm-8">
                                <input id="returnIntermediate" name="returnIntermediate" value="0" placeholder="请输入订单中级退货数量" class="form-control" type="text">

                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">高级退货数量：</label>
                            <div class="col-sm-8">
                                <input id="returnSenior" name="returnSenior" value="0" placeholder="请输入订单高级退货数量" class="form-control" type="text">

                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>


                        <div class="form-group" style="visibility: hidden">
                            <label class="col-sm-3 control-label">订单种类：</label>
                            <div class="col-sm-8">
                                <input  id="orderTypes11" name="orderTypes11" th:value="${bookOrder.orderTypes}"   class="form-control" type="hidden">
                                <select id="orderTypes" name="orderTypes" placeholder="请选择订单种类" class="form-control">
                                    <option value="">请选择</option>
                                    <option th:each="item : ${mapListYear}"  th:value="${item.value}" th:text="${item.name}"></option>
                                </select>
                            </div>
                        </div>


                        <input id="school1s" name="school1s" th:value="${bookOrder.school}"   class="form-control" type="hidden">


                      <input id="school" name="school"    class="form-control" type="text" style="visibility: hidden">



                      <input id="school2" name="school1" th:value="${bookOrder.school}" type="text" class="form-control" placeholder="输入个人/公司名称" style="visibility: hidden">



                      <input id="bookIdNmae" th:value="${bookOrder.bookId}" class="form-control" type="hidden">

                      <select id="bookId" name="bookId" placeholder="请选择对应书籍种类" class="form-control" style="visibility: hidden">
                         <option th:each="item : ${list2}"  th:value="${item.name}" th:text="${item.name}"></option>
                      </select>



                        <input id="orderNumber" name="orderNumber" th:value="${bookOrder.orderNumber}" placeholder="请输入订单数量" class="form-control" type="text" style="visibility: hidden">


                        <input id="discount" name="discount" th:value="${bookOrder.discount}" class="form-control" type="text" style="visibility: hidden">


                        <input id="orderPrimary" name="orderPrimary" th:value="${bookOrder.orderPrimary}" placeholder="请输入订单初级数量" class="form-control" type="text" style="visibility: hidden">


                        <input id="discountPrimary" name="discountPrimary" th:value="${bookOrder.discountPrimary}" placeholder="请输入订单初级数量" class="form-control" type="text" style="visibility: hidden">

                        <input id="orderIntermediate" name="orderIntermediate" th:value="${bookOrder.orderIntermediate}" placeholder="请输入订单中级数量" class="form-control" type="text" style="visibility: hidden">


                        <input id="discountIntermediate" name="discountIntermediate" th:value="${bookOrder.discountIntermediate}" placeholder="请输入订单初级数量" class="form-control" type="text" style="visibility: hidden">


                        <input id="orderSenior" name="orderSenior" th:value="${bookOrder.orderSenior}"  placeholder="请输入订单高级数量" class="form-control" type="text" style="visibility: hidden">


                        <input id="discountSenior" name="discountSenior" th:value="${bookOrder.discountSenior}" placeholder="请输入订单初级数量" class="form-control" type="text" style="visibility: hidden">

                        <div class="form-group" style="visibility: hidden">
                            <label class="col-sm-3 control-label">是否包邮：</label>
                            <input id="postHidden" th:value="${bookOrder.post}" class="form-control"
                                   type="hidden">
                            <div class="col-sm-8">
                                <select name="post" id="post" class="form-control">
                                    <option value="0"> 包邮</option>
                                    <option value="1"> 不包邮</option>
                                </select>
                            </div>
                        </div>

                        <input id="year" name="year"  th:value="${bookOrder.year}" placeholder="请输入年份" class="form-control" type="text" style="visibility: hidden">



                                <input id="orderCreatetime" name="orderCreatetime" th:value="${bookOrder.orderCreatetimeS}" class="form-control" type="text"
                                         placeholder="请输入结束时间" style="visibility: hidden">



                        <div class="div_3" id="adre" style="visibility: hidden">
                            <div class="form-group">
                                <label class="col-sm-3 control-label">所属省份：</label>
                                <div class="col-sm-8">
                                    <input type="hidden" style="width: 150px"  id="province" th:value="${bookOrder.province}" />
                                    <select  name="province" th:value="${bookOrder.province}" class="form-control" type="text"></select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">所属市：</label>
                                <div class="col-sm-8">
                                    <input type="hidden" style="width: 150px"  id="city" th:value="${bookOrder.city}" />
                                    <select  name="city" th:value="${bookOrder.city}" class="form-control" type="text"></select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">所属县：</label>
                                <div class="col-sm-8">
                                    <input type="hidden" style="width: 150px"  id="district" th:value="${bookOrder.county}" />
                                    <select  name="district"  class="form-control" type="text"></select>
                                </div>
                            </div>
                        </div>



                                <input id="address" name="address" th:value="${bookOrder.address}" class="form-control" type="text" style="visibility: hidden">







                                <input id="addressee" name="addressee" th:value="${bookOrder.addressee}" class="form-control" type="text" style="visibility: hidden">


                                <input id="mobile" name="mobile" th:value="${bookOrder.mobile}" class="form-control" type="text" style="visibility: hidden">


                        <div class="form-group" style="visibility: hidden">
                            <label class="col-sm-3 control-label">发票类型：</label>
                            <input id="invoiceTypeHidden" th:value="${bookOrder.invoiceType}" class="form-control"
                                   type="hidden">
                            <div class="col-sm-8">
                                <select name="invoiceType" id="invoiceType" class="form-control">
                                    <option value="纸质发票"> 纸质发票</option>
                                    <option value="电子发票"> 电子发票</option>
                                </select>
                            </div>
                        </div>


                                <input id="billingName" name="billingName" th:value="${bookOrder.billingName}" class="form-control" type="text" style="visibility: hidden">


                                <input id="billingNumber" name="billingNumber" th:value="${bookOrder.billingNumber}" class="form-control" type="text" style="visibility: hidden">


                                <input id="billingAddress" name="billingAddress" th:value="${bookOrder.billingAddress}" class="form-control" type="text" style="visibility: hidden">


                                <input id="billingAccountNumber" name="billingAccountNumber" th:value="${bookOrder.billingAccountNumber}" class="form-control" type="text" style="visibility: hidden">


                                <input id="billingMailbox" name="billingMailbox" th:value="${bookOrder.billingMailbox}" class="form-control" type="text" style="visibility: hidden">


                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script src="/js/jquery.citys.js"></script>
<script src="//s.xlongwei.com/res/js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="/js/webJs/jzweb/bookOrder/returns.js">
</script>
<script>
    $(function () {
        //获取用户信息
        //省市区联动
        $('#adre').citys({
            province: $("#province").val(),
            city: $("#city").val(),
            district: $("#district").val(),
            onChange: function (info) {
            }
        });
    });
</script>
</body>
</html>
